package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName ErpVoucherDesignSearchDto
 * @Description 单据 动态查询DTO
 * @Authpr baiqiang
 * @Date 2020/11/13 14:19
 **/
@Data
@ApiModel("单据 动态查询DTO")
public class ErpVoucherDesignSearchDto extends BaseEntity {

    @ApiModelProperty(value = "日期/时间范围传入值")
    private  Object[] rangDateVal;

    @ApiModelProperty(value = "传入的值")
    private String value;

    @ApiModelProperty(value = "系统字段名称")
    @TableField("sys_name")
    private String sysName;

    @ApiModelProperty(value = "字段名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "字段编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "字段来源 （）")
    @TableField("source")
    private String source;

    @ApiModelProperty(value = "控件类型")
    @TableField("column_type")
    private String columnType;

    @ApiModelProperty(value = "字段值")
    @TableField("val")
    private String val;

    @ApiModelProperty(value = "长度")
    @TableField("length")
    private String length;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "页签 （表头 表尾 明细 汇总 等等）")
    @TableField("data_tab")
    private String dataTab;

    @ApiModelProperty(value = "数据类型 1：基础 2：自定义 3.引用属性")
    @TableField("data_type")
    private Integer dataType;

    @ApiModelProperty(value = "关联字段(单据对应字段)")
    @TableField("relation_field")
    private String relationField;

    @ApiModelProperty(value = "是否可以汇总(0：否，1：是）")
    @TableField("is_summary")
    private Boolean isSummary;

    @ApiModelProperty(value = "汇总方式(汇总值、平均值、最大值、最小值)")
    @TableField("summary_type")
    private String summaryType;

    @ApiModelProperty(value = "启用 (0：否，1：是）")
    @TableField("on_off")
    private Boolean onOff;

    @ApiModelProperty(value = "是否必填（0：否，1：是）")
    @TableField("on_fill")
    private Boolean onFill;

    @ApiModelProperty(value = "启用 (0：否，1：是）")
    @TableField("on_app_off")
    private Boolean onAppOff;

    @ApiModelProperty(value = "是否必填（0：否，1：是）")
    @TableField("on_app_fill")
    private Boolean onAppFill;

    @ApiModelProperty(value = "是否可以编辑（0：否，1：是（默认））")
    @TableField("on_edit")
    private Boolean onEdit;

    @ApiModelProperty(value = "是否导出（0：否，1：是）")
    @TableField("on_export")
    private Boolean onExport;

    @ApiModelProperty(value = "是否作为条件查询 1:是 0:否")
    @TableField("is_app_search")
    private Boolean isAppSearch;

    @ApiModelProperty(value = "是否作为条件查询 1:是 0:否")
    @TableField("is_search")
    private Boolean isSearch;

    @ApiModelProperty(value = "是否锁定（0：否，1：是）")
    @TableField("on_locked")
    private Boolean onLocked;

    @ApiModelProperty(value = "列宽")
    @TableField("column_width")
    private Integer columnWidth;

}
